<?php $svrhas = UplataPeer::getSvrhas() ?>
<div class="center_div" style="width: 240px; min-height: 300px; padding-top: 5px;">
<table class="form_holder">
   <tr>
     <th>Svrha</th>
     <th>Datum</th>
     <th>Iznos</th>
   </tr>

   <?php foreach($uplatas as $uplata) { ?>
   <tr>
     <td><?php echo $svrhas[$uplata->getSvrha()] ?></td>
     <td><?php echo Functions::datumSr($uplata->getCreatedAt()) ?></td>
     <td><?php echo $uplata->getIznos() ?> din.</td>
   </tr>
   <?php }?>
</table>
</div>
